string OBJFilename = "V:\\ObjMod.txt" // file with OBJ... in it |
Re: Unable to read a file bool canOpenFile(string pathname, false) You should also trap your read command: noError() Stream input = read(OBJFilename) string ErrMess = lastError() if (null input or !null ErrMess) { whatever, ack ("Cannot open file " ErrMess) } I'm getting that error when the file doesn't exist, and not getting it when it does. Are you SURE this PC can see the 'v' drive?
|